﻿<%@ Control Language="c#" AutoEventWireup="false" Inherits="Web.Control.WWW.Session.sessionStateF" %>
<input type="hidden" name="p" value="0" id="p" />
<input type="hidden" name="s" value="0" id="s" />
<input type="hidden" name="d" value="0" id="d" />
<input type="hidden" name="mp" value="0" id="mp" />
<input type="hidden" name="mk" value="0" id="mk" />
<input type="hidden" name="mh" value="0" id="mh" />
<input type="hidden" name="w" value="0" id="w" />
<input id="tno" name="tno" type="hidden" value="0" />
<input type="hidden" name="msg" value="0" id="msg" />
<div class="common">
	<div id="new_body">
		<div id="body_900">
			<div id="body_left"></div>
			<div id="body_main">
				<div class="title">
					<%if(isshow){ %><h1><%=GetText("Confirm Session Occurred") %></h1><%}else{ %> <h1>The status of the session has changed</h1><%} %>
				</div>
				<div class="Center9001n">
					<div class="Center9001Left">
						<div class="right_layerA">
							<div class="layer_contentA">
								<div class="layer_contentA5">
									<div class="card">
										<div class="floatl"><a href="<%=WWWHost %>/<%=sm.TNO %>T.htm" title="<%=sm.TNickname %>"><img src="<%=sm.TAvatar==""?"/Images/no_pic.gif":sm.TAvatar %>" width="50" height="50" border="0" /></a></div>
										<div class="floatr"><strong><%=sm.TNickname%></strong>
										<p><img src="/Images/fbapp_level_<%=StarRate.ToString("N0")%>.gif" title="Rating: <%=StarRate.ToString("N2")%>" /></p><span class="grey11"><%=GetText("C0102",new string[]{BLF.StaticData.GetCountryText(Nationality)}) %></span>
										
										</div>
										<div class="cleartm"></div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<%if(isshow){ %>
					<div class="Center9001Right">
							<div class="center9001content">
								<div class="teach_area">
									<div class="session_active">
										<p>Session ID: <a href="<%=WWWHost %>/session/session.htm?sid=<%=sm.SessionID %>"><%=sm.SessionID %></a></p>
										<p>Payment ID: <%=GetPayID(sm.SessionID) %></p>
										
									</div>
									<div class="session_rate">
										<p><strong>Rate my experience with this teacher:</strong></p>
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
										  <tr>
											<td>Professionality
										<div class="margin5"><input id="rdprf5" type="radio" name="prf" value="5" /><label for="rdprf5">5 Excellent</label><br />
										<input id="rdprf4" type="radio" name="prf" value="4"  /><label for="rdprf4">4 Good</label><br />
										<input id="rdprf3" type="radio" name="prf" value="3" /><label for="rdprf3">3 Average</label><br />
										<input id="rdprf2" type="radio" name="prf" value="2" /><label for="rdprf2">2 Weak</label><br />
										<input id="rdprf1" type="radio" name="prf" value="1" /><label for="rdprf1">1 Poor</label><span  id="SProfessional"  style="color: Red;display:none" class="validMsg"><br /><%=GetText("请选择")%></span></div>
											</td>
											<td>Knowledgeability
										<div class="margin5"><input id="rdkgl5" type="radio" name="kgl" value="5" /><label for="rdkgl5">5 Excellent</label><br />
										<input id="rdkgl4" type="radio" name="kgl" value="4" /><label for="rdkgl4">4 Good</label><br />
										<input id="rdkgl3" type="radio" name="kgl" value="3" /><label for="rdkgl3">3 Average</label><br />
										<input id="rdkgl2" type="radio" name="kgl" value="2" /><label for="rdkgl2">2 Weak</label><br />
										<input id="rdkgl1" type="radio" name="kgl" value="1" /><label for="rdkgl1">1 Poor</label><span  id="SKnowledgeable"  style="color: Red;display:none" class="validMsg"><br /><%=GetText("请选择")%></span></div>
											</td>
											<td>Helpful
										<div class="margin5"><input id="rdhf5" type="radio" name="hf" value="5" /><label for="rdhf5">5 Excellent</label><br />
										<input id="rdhf4" type="radio" name="hf" value="4" /><label for="rdhf4">4 Good</label><br />
										<input id="rdhf3" type="radio" name="hf" value="3" /><label for="rdhf3">3 Average</label><br />
										<input id="rdhf2" type="radio" name="hf" value="2" /><label for="rdhf2">2 Weak</label><br />
										<input id="rdhf1" type="radio" name="hf" value="1" /><label for="rdhf1">1 Poor</label><span  id="SHelpful"  style="color: Red;display:none" class="validMsg"><br /><%=GetText("请选择")%></span></div>
											</td>
										  </tr>
										</table>
										<p>Public Feedback for the teacher <span class="grey12">(<%=GetText("C0043")%>)</span></p>
										<p><textarea id="txtCommInput" style="width:600px" rows="3"></textarea><span  id="StxtCommInput"  style="color: Red;display:none" class="validMsg"><br /><%=GetText("输入字符请确定是在1到1000当中")%></span></p>
									</div>
									<div class="session_pay">
										<h3>Please enter your payment password</h3>
										<div class="floatl"><input type="password" class="Input_password" id="passpy" />&nbsp;&nbsp;<span  id="Spasspy"  style="color: Red;display:none" class="validMsg"><br /><%=GetText("请输入6-16个字符") %></span></div>
										<div class="floatl"><a href="#" class="specgbtn" id="btnCommInput" onclick="btnsave()"/><span>&nbsp;&nbsp;&nbsp;Confirm & Payment&nbsp;&nbsp;&nbsp;</span></a></div><div class="clear"></div>
									</div>
								</div>
							</div>
					</div>
					<%}else{ %><p>The action is not valid now.</p>
<p><a href="<%=WWWHost%>/session/session.htm?sid=<%=sid %>">Return the session and check the action required</a></p><%} %>
					<div class="clear"></div>
				</div>
			</div>
			<div id="body_right"></div>
			<div class="clear"></div>
		</div>
		<div id="body_900F"></div>
	</div>
</div>
<%if(isshow){ %>
<script>
var sid=<%=sid %>;
var memberno="<%=Memberno %>";
var tno="<%=sm.TNO %>";
var Session_py="<%=Session_py %>";
</script>
<%} %>
